package com.imooc.dto;

import lombok.Data;

/**
 * @program: sell
 * @description: 购物车对象
 * @author: LT
 * @create: 2020-07-19 23:04
 **/
@Data
public class CartDTO {
    /*商品Id*/
    private String productId;
    /*数量*/
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}